Platform Explorer / Nuxeo Platform 2021.26

Contribution com.nuxeo.document.routing.table.widget--widgets

This contribution is part of XML component com.nuxeo.document.routing.table.widget inside nuxeo-routing-web-2021.26.5.jar /OSGI-INF/document-routing-table-widgets-contrib.xml

Extension Point

Extension point widgets of component WebLayoutManager.

Registration Order

27
The registration order represents the order in which this contribution was registered on its target extention point. This will impact the override/merge behaviour when it is implemented on the target service, and is useful for proper customization of existing contributions.
You can influence this order by adding "require" tags in the containing component declaration, to make sure it is resolved after another component (see "Resolution Order" on components).

Contributed Items

  • <widget name="dr_listing_document_route_folder_element_type" type="listing_document_route_folder_element_type">
          <labels>
            <label mode="any">label.document.route.content.header.type
            </label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>routeElement.document</field>
            <field>routeElement.document.id</field>
            <field>routeElement.document.hasFacet('Folderish')</field>
          </fields>
          <properties mode="any">
            <property name="showAvailableActionsOnRouteElement">false</property>
          </properties>
        </widget>
  • <widget name="dr_listing_document_route_element_type" type="listing_document_route_element_type">
          <labels>
            <label mode="any">label.document.route.content.header.type
            </label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>data.document</field>
            <field>data.document.type</field>
          </fields>
        </widget>
  • <widget name="dr_listing_title_link" type="listing_route_title_link">
          <labels>
            <label mode="any">label.content.header.title</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>data.document</field>
            <field>data.document.id</field>
            <field>data.document.title</field>
          </fields>
        </widget>
  • <widget name="dr_listing_document_route_element_actors" type="listing_document_route_element_actors">
          <labels>
            <label mode="any">label.document.route.content.header.actors
            </label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>data.document.task_step.actors</field>
          </fields>
        </widget>
  • <widget name="dr_listing_route_element_state" type="listing_document_route_element_state">
          <translated>true</translated>
          <labels>
            <label mode="any">label.widget.document_routing_route_content.dr_listing_route_element_state
            </label>
          </labels>
          <fields>
            <field>data.document.currentLifeCycleState</field>
          </fields>
        </widget>
  • <widget name="dr_listing_title_description" type="text">
          <labels>
            <label mode="any">label.content.header.description</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>data.document.dc.description</field>
          </fields>
        </widget>
  • <widget name="dr_listing__edit_document_route_element" type="listing_edit_document_route_element">
          <labels>
            <label mode="any">label.document.route.content.header.update
            </label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>data.document</field>
            <field>data.document.id</field>
          </fields>
        </widget>
  • <widget name="dr_listing_add_step" type="add_step">
          <translated>true</translated>
          <fields>
            <field>data.document</field>
            <field>data.document.id</field>
            <field>data.document.hasFacet('Folderish')</field>
          </fields>
        </widget>
  • <widget name="dr_listing_remove_step" type="remove_step">
          <translated>true</translated>
          <fields>
            <field>data.document</field>
            <field>data.document.id</field>
          </fields>
        </widget>
  • <widget name="dr_listing_title" type="text">
          <labels>
            <label mode="any">label.content.header.title</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>data.document.dc.title</field>
          </fields>
        </widget>
  • <widget name="dr_listing_current_lifecycle" type="text">
          <labels>
            <label mode="any">label.content.header.currentLifecycleState
            </label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>data.document.currentLifeCycleState</field>
          </fields>
        </widget>
  • <widget name="dr_listing_no_comments" type="listing_no_comments">
          <labels>
            <label mode="any">label.content.header.comments</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>data.document</field>
            <field>data.document.hasFacet('CommentsInfoHolder')</field>
            <field>data.document.infocom.numberOfComments</field>
          </fields>
        </widget>
  • <widget name="dr_listing_step_actions" type="step_actions">
          <translated>true</translated>
          <fields>
            <field>data.document</field>
            <field>data.document.id</field>
            <field>data.document.hasFacet('Folderish')</field>
          </fields>
        </widget>

XML Source

<extension point="widgets" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">

    <widget name="dr_listing_document_route_folder_element_type" type="listing_document_route_folder_element_type">
      <labels>
        <label mode="any">label.document.route.content.header.type
        </label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>routeElement.document</field>
        <field>routeElement.document.id</field>
        <field>routeElement.document.hasFacet('Folderish')</field>
      </fields>
      <properties mode="any">
        <property name="showAvailableActionsOnRouteElement">false</property>
      </properties>
    </widget>

    <widget name="dr_listing_document_route_element_type" type="listing_document_route_element_type">
      <labels>
        <label mode="any">label.document.route.content.header.type
        </label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>data.document</field>
        <field>data.document.type</field>
      </fields>
    </widget>

    <widget name="dr_listing_title_link" type="listing_route_title_link">
      <labels>
        <label mode="any">label.content.header.title</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>data.document</field>
        <field>data.document.id</field>
        <field>data.document.title</field>
      </fields>
    </widget>

    <!-- @deprecated since 5.9.2 - Use routing_task_actors instead -->
    <widget name="dr_listing_document_route_element_actors" type="listing_document_route_element_actors">
      <labels>
        <label mode="any">label.document.route.content.header.actors
        </label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>data.document.task_step.actors</field>
      </fields>
    </widget>

    <widget name="dr_listing_route_element_state" type="listing_document_route_element_state">
      <translated>true</translated>
      <labels>
        <label mode="any">label.widget.document_routing_route_content.dr_listing_route_element_state
        </label>
      </labels>
      <fields>
        <field>data.document.currentLifeCycleState</field>
      </fields>
    </widget>

    <widget name="dr_listing_title_description" type="text">
      <labels>
        <label mode="any">label.content.header.description</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>data.document.dc.description</field>
      </fields>
    </widget>

    <widget name="dr_listing__edit_document_route_element" type="listing_edit_document_route_element">
      <labels>
        <label mode="any">label.document.route.content.header.update
        </label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>data.document</field>
        <field>data.document.id</field>
      </fields>
    </widget>

    <!-- @deprecated since 5.9.2 - Use only routes of type 'graph' -->
    <widget name="dr_listing_add_step" type="add_step">
      <translated>true</translated>
      <fields>
        <field>data.document</field>
        <field>data.document.id</field>
        <field>data.document.hasFacet('Folderish')</field>
      </fields>
    </widget>

    <!-- @deprecated since 5.9.2 - Use only routes of type 'graph' -->
    <widget name="dr_listing_remove_step" type="remove_step">
      <translated>true</translated>
      <fields>
        <field>data.document</field>
        <field>data.document.id</field>
      </fields>
    </widget>

    <widget name="dr_listing_title" type="text">
      <labels>
        <label mode="any">label.content.header.title</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>data.document.dc.title</field>
      </fields>
    </widget>

    <widget name="dr_listing_current_lifecycle" type="text">
      <labels>
        <label mode="any">label.content.header.currentLifecycleState
        </label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>data.document.currentLifeCycleState</field>
      </fields>
    </widget>

    <widget name="dr_listing_no_comments" type="listing_no_comments">
      <labels>
        <label mode="any">label.content.header.comments</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>data.document</field>
        <field>data.document.hasFacet('CommentsInfoHolder')</field>
        <field>data.document.infocom.numberOfComments</field>
      </fields>
    </widget>

    <widget name="dr_listing_step_actions" type="step_actions">
      <translated>true</translated>
      <fields>
        <field>data.document</field>
        <field>data.document.id</field>
        <field>data.document.hasFacet('Folderish')</field>
      </fields>
    </widget>

  </extension>